/**
 * Created by Admin on 2017/9/14.
 */

function alertMess($mess){
    toastr.success($mess);
    setTimeout(function(){
        window.location.reload();//页面刷新
    },2000);
}


var _loadingFuc = function() {
    $.blockUI({
        message:'<i class="icon-spinner icon-spin white bigger-125"></i>　处理中...请稍后',
        css: {
            border: 'none',
            padding: '15px',
            backgroundColor: '#000',
            '-webkit-border-radius': '10px',
            '-moz-border-radius': '10px',
            opacity: .5,
            color: '#fff',
            'z-index': 2100
        },
        overlayCSS:  {
            'z-index': 2000
        }
    });
};